cmake_minimum_required(VERSION 2.8.12)

project(Util LANGUAGES C CXX)




add_library(tproxy_util SHARED
    autolock.cpp
    fasterjson.c
    LOG.c
    LOGS.c
    tproxy_util.c
)


target_include_directories(tproxy_util PUBLIC ${PROJECT_ROOT_DIR}/src/util )
target_link_libraries(tproxy_util PRIVATE ssl z)
install(TARGETS tproxy_util  DESTINATION lib)
